package com.wangxl.rabbitmqdemo.enumtype;

/**
 * 消息路由KEY枚举类型
 * @Author: wangxl
 * @Date: 2019/3/23 18:28
 */
public enum  RoutingKeyEnum {

    SIMPLE_KEY("simple-key"),

    MESSAGE("business-message"),

    EMAIL("business-email");

    private String routingKey;

    public String getRoutingKey() {
        return routingKey;
    }

    public void setRoutingKey(String routingKey) {
        this.routingKey = routingKey;
    }

    RoutingKeyEnum(String routingKey) {

        this.routingKey = routingKey;
    }
}
